package com.sg.service.base.app;

import com.sg.dto.base.app.req.ImplementRollbackOpeRecordLoopStartReq;
import com.sg.dto.base.app.req.QueryRollbackLockOperationRecordDetailReq;
import com.sg.dto.base.app.req.QueryRollbackLockOperationRecordListReq;
import com.sg.entity.RollbackLockOperationRecord;

import java.util.List;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
public interface MRollbackLockOperationRecordService {
    /**
     * 3-3-20新增回退锁定操作记录
     */
    String addRollbackLockOperationRecord(RollbackLockOperationRecord rollbackLockOperationRecord);

    /**
     * 3-3-20查询回退锁定操作记录列表
     */
    List<RollbackLockOperationRecord> queryRollbackLockOperationRecordList(QueryRollbackLockOperationRecordListReq reqDto);

    /**
     * 3-3-20删除回退锁定操作记录
     */
    boolean deleteRollbackLockOperationRecord(String lockOperationRecordId);

    /**
     * 3-3-20查询回退锁定操作记录详情
     */
    RollbackLockOperationRecord queryRollbackLockOperationRecordDetail(QueryRollbackLockOperationRecordDetailReq reqDto);

    /**
     * M3锁定操作记录【循环开始】
     */
    RollbackLockOperationRecord implementRollbackOpeRecordLoopStart(ImplementRollbackOpeRecordLoopStartReq reqDto);
//
}

